#pragma once
#include "singleton.h"

class Main:public Singleton<Main>
{
public:
    void Init(HMODULE hModule);
    void OnInit();
    void OnExit();

private:
    HMODULE m_hModule;
    static DWORD WINAPI RunThread(LPVOID lParam);
};